import 'package:live_music/http/http_utils.dart';

class MomentService {
  static Future queryMomentDetail(data) async {
    return await HttpUtils.postRequest(
        url: '/moment/getMomentDetail', data: data);
  }
 static Future searchMoment(data) async {
    return await HttpUtils.postRequest(
        url: '/moment/searchMoment', data: data);
  }
   static Future deleteMoment(data) async {
    return await HttpUtils.postRequest(
        url: '/moment/deleteMoment', data: data);
  }
    static Future share(data) async {
    return await HttpUtils.postRequest(
        url: '/share/share', data: data);
  }
      static Future updateCoverUrl(data) async {
    return await HttpUtils.postRequest(
        url: '/video/updateCoverUrl', data: data);
  }
  
}
